<%@ page import="com.msti.entity.Student"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title >Student Registration</title>
<link rel="stylesheet" type="text/css" href="css/common.css" />
<script type="text/javascript" src="js/common.js"></script>
</head>
<body>
<div class="wrapper">
	<form action="studentDetail.do" method="post" id="reg_form" onSubmit="return regRequired();">
		<div id="form_header">Student Registration</div>
		<ul>
			<li>
				<p class="label">Full Name :</p>
				<input type="text" name="fullName" class="txt_field" />
			</li>
			<li>
				<p class="label">NIC :</p>
				<input type="text" name="NICNO" class="txt_field" id="nic" />
			</li>
			<li>
				<p class="label">Address :</p>
				<input type="text" name="address" class="txt_field"  />
			</li>
			<li>
				<p class="label">Passport No :</p>
				<input type="text" name="PassportNo" class="txt_field" id="passport" />
			</li>
			<li>
				<p class="label">CDC :</p>
				<input type="text" name="CDCNO" class="txt_field" id="cdc" />
			</li>
			<li>
				<p class="label">Phone :</p>
				<input type="text" name="phone" class="txt_field" />
			</li>
			<li>
				<p class="label">Date Of Birth :</p>
				<input type="text" name="dateOfBirth" class="txt_field" />
			</li>
			<li>
				<p class="label">&nbsp;</p>
				<input type="submit" value="Register" class="submit_btn">
			</li>
		</ul>
	</form>
	<form action="update.do" method="post" id="update_form" onSubmit="return checkField();">
		<div id="update_profile">			
			<ul class="select_num">
				<li><input type="radio" class="radio_num" name="type" value="NICNO" /><p class="label">NIC NO</p></li>
				<li><input type="radio" class="radio_num" name="type" value="PassportNo"/><p class="label">Passport NO</p></li>
				<li><input type="radio" class="radio_num" name="type" value="CDCNO"/><p class="label">CDC NO</p></li>
			</ul><br/>
        	<input type="text" class="txt_field" name="updateDetail" id="updateform_num">			
			<input type="submit" value="Update Profile" name="submit" class="button_text">
			<div class="error_msg" id="num_error_msg"></div><br/>
		</div>
	</form>
	<div class="company_name_bar"><marquee direction="left">Mercantile Seamen Training Institute Ltd.</marquee></div>
</div>
</body>
</html>
